package py.com.alfa.escriba.persistence.dao;

import java.util.List;

import py.com.alfa.escriba.exception.ServiceException;
import py.com.alfa.escriba.persistence.dto.PersonasdocumentosDTO;
import py.com.alfa.escriba.persistence.dto.admin.ClienteDTO;
import py.com.alfa.escriba.persistence.dto.admin.DomicilioDTO;
import py.com.alfa.escriba.persistence.dto.admin.TelefonoDTO;
import py.com.alfa.escriba.persistence.dto.referencia.TabRefDTO;



public interface AdminDAO {
	
	public List<ClienteDTO> getClientes() throws ServiceException;
	public ClienteDTO getClienteById(Long id) throws ServiceException;
	public Long getTrnClientes() throws ServiceException;
	//public List<EmpleoDTO>  getEmpleosByCliente(Long id) throws ServiceException;	
	public int updCliente(ClienteDTO dto) throws ServiceException;
	public int insCliente(ClienteDTO dto) throws ServiceException;
	public int delCliente(Long id) throws ServiceException;
	//public int insTrabajoPersonal(IntercepcionLongDTO dto) throws ServiceException;
	//public int delTrabajoPersonalByCliente(Long id) throws ServiceException;
	//public int delTrabajoPersonal(IntercepcionLongDTO dto) throws ServiceException;
	public List<TelefonoDTO> getTelefonosByCliente(Long idPersona) throws ServiceException;	
	public int updTelefono(TelefonoDTO dto) throws ServiceException;
	public int insTelefono(TelefonoDTO dto) throws ServiceException;
	//public int delTelefono(TelefonoDTO dto) throws ServiceException;
	public int delTelefonoByCliente(Long idPersona) throws ServiceException;
	public List<DomicilioDTO> getDomiciliosByCliente(Long idPersona) throws ServiceException;	
	public DomicilioDTO getDomicilio(Long id) throws ServiceException;
	public Long getTrnDomicilios() throws ServiceException;
	public int updDomicilio(DomicilioDTO dto) throws ServiceException;
	public int insDomicilio(DomicilioDTO dto) throws ServiceException;
	public int delDomicilio(Long id) throws ServiceException;
	public int delDomicilioByCliente(Long idPersona) throws ServiceException;	
	public int delDocumento(Long id) throws ServiceException;
	public int insDocumento(PersonasdocumentosDTO dto) throws ServiceException;
	public PersonasdocumentosDTO getDocumento(Long id) throws ServiceException;
	public int updDocumento(PersonasdocumentosDTO dto) throws ServiceException;
	public TabRefDTO getTabRefsById(Long id) throws ServiceException;
	public TabRefDTO getTabRefs(TabRefDTO dto) throws ServiceException;
	public int delDocumentoByCliente(Long idPersona) throws ServiceException;
	
	
}
